//
//  MBTools.m
//  NeteaseNews
//
//  Created by dllo on 15/9/17.
//  Copyright (c) 2015年 刘志强. All rights reserved.
//

#import "MBTools.h"

@implementation MBTools
+ (void)showHUD:(NSString *)text andView:(UIView *)view andHUD:(MBProgressHUD *)hud
{
    [view addSubview:hud];
    hud.labelText = text;
    [hud initWithRect:300 andY:150 andWidth:50 andheight:50];
 //   [view.superview bringSubviewToFront:hud];
    hud.square =YES;
    [hud show:YES];
}
@end
